<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
    <jsp:useBean id="formForGraphicsCardData" scope="request" type="ee.graphicscard.controller.forms.GraphicsCardForm" /> 
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type='text/css'>
	textarea.inputTextArea
	{
		width:300px;
		height:300px;	
	}
</style>
<title>Insert title here</title>
</head>
<body>
	<form action='s?action=save' method=POST>
		<input type='hidden' name='graphicscard_id' value='<%=formForGraphicsCardData.getGraphicscard_id() %>'>
		<table>
			<tr><td colspan=3 bgcolor=#CCCCCC>KIRJE MUUTMINE</td></tr>
			<tr><td>Toote identifikaator:</td><td colspan=2><%=formForGraphicsCardData.getGraphicscard_id() %></td></tr>
			<tr><td>Toote nimetus:</td><td><input type='text' name='product_name' value='<%=formForGraphicsCardData.getProduct_name() %>'></td><td><%=formForGraphicsCardData.getErrorByField("product_name")%></td></tr>
			<tr><td>CUDA protsessorite arv:</td><td><input type='text' name='cudacores' value='<%=formForGraphicsCardData.getCudacores() %>'></td><td><%=formForGraphicsCardData.getErrorByField("cudacores")%></td></tr>
			<tr><td>Kirjeldus:</td><td><textarea class='inputTextArea' name='overview'><%=formForGraphicsCardData.getOverview() %></textarea></td><td><%=formForGraphicsCardData.getErrorByField("overview")%></td></tr>
			<tr><td colspan=2><input type=submit value="SALVESTA"></td></tr>
		</table>
	</form>
</body>
</html>
